package com.ice.work.moment.ticket.config;

import com.honeybee.cloud.framework.common.idwork.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description 主键生成
 * @Author DELL
 * @Create 2019-03-08
 * @Since 1.0.0
 */
@Configuration
public class IdWorkConfig {
    @Bean
    public IdWorker idWorker() {
        return new IdWorker();
    }
}
